{% extends "base.html" %}
{% block title %}
漫画屋
{% endblock %}
{% block body %}
<div class="container">
    <div class="row">
        <div class="col-md-1 col-sm-1">
            <!-- 上传漫画 -->
            <a href="/upload/" target="_blank" class="btn btn-default btn-lg" role="button">
                <!--<span class="glyphicon glyphicon-arrow-up"></span>-->
                上传<br>
                漫画
            </a>
        </div>
    </div>
    <br>
    <div class="row">
        {% load static %}
        {% for com in comics %}
        <div class="col-md-2 col-sm-3 thumbnail text-center ">
            <a href="/show_comics/{{ com.id }}">
                <img src="{{static}}/media/{{com.cover}}" style="height:200px" alt="" class="img-responsive">
                <span class="text-primary">{{ com.name }}</span>
            </a>
        </div>
        {% endfor %}
    </div>
</div>
{% endblock %}